
import 'dart:convert';

BookIdList bookIdListFromJson(String str) =>
    BookIdList.fromJson(json.decode(str));

String bookIdListToJson(BookIdList data) => json.encode(data.toJson());

class BookIdList {
  BookIdList({
    this.bookId,
  });

  List<String>? bookId;

  factory BookIdList.fromJson(Map<String, dynamic> json) => BookIdList(
        bookId: json["bookId"] != null
            ? List<String>.from(json["bookId"].map((x) => x))
            : null,
      );

  Map<String, dynamic> toJson() => {
        "bookId":
            bookId != null ? List<dynamic>.from(bookId!.map((x) => x)) : null,
      };
}
